package com.lhsy.djcloud.mapper;

import com.lhsy.djcloud.entity.FileMessage;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author wangzw
 * @since 2020-09-14
 */
public interface FileMessageMapper extends BaseMapper<FileMessage> {

    List<FileMessage> selectByTargetId(@Param("userId") Integer userId,@Param("startTime")Date startTime,@Param("endTime")Date endTime,@Param("params") String params);

    List<FileMessage> selectBySendId(@Param("userId") Integer userId, @Param("startTime")Date startTime,@Param("endTime")Date endTime,@Param("params") String params);
}
